package com.action.home;

import java.util.*;

import com.db.home.*;

public class HomeAction {
		private WorkReportDAO hworkDAO;
		private WorkCallDAO hcallDAO;
		private WorkSheetDAO hsheetDAO;
		
		private List<WorkReportVO> Reportlist=new ArrayList<WorkReportVO>();
		private List<WorkCallVO> CallList = new ArrayList<WorkCallVO>();
		private List<WorkSheetVO> SheetList = new ArrayList<WorkSheetVO>();
		
		public List<WorkSheetVO> getSheetList() {
			return SheetList;
		}


		public void setHsheetDAO(WorkSheetDAO hsheetDAO) {
			this.hsheetDAO = hsheetDAO;
		}

	
		public void setHworkDAO(WorkReportDAO hworkDAO) {
			this.hworkDAO = hworkDAO;
		}
		public void setHcallDAO(WorkCallDAO hcallDAO) {
			this.hcallDAO = hcallDAO;
		}


		public List<WorkReportVO> getReportlist() {
			return Reportlist;
		}

		public List<WorkCallVO> getCallList() {
			return CallList;
		}

		public String execute() throws Exception{
		
			CallList = hcallDAO.call4();
			Reportlist = hworkDAO.report4();
		
			SheetList = hsheetDAO.sheet4();
			
			return "success";
		}

	}


		


	
	

